<?php

namespace app\api\controller\v1;

use app\common\controller\Api;
use think\Db;

class Interest extends Api
{
    protected $noNeedLogin = ["getList"];
    
    public function getList()
    {
        $list = Db::name("user_interested")
            ->field("id, name")
            ->select();
            
        $this->success("获取成功", $list);
    }
}
